﻿using System.Configuration;

namespace DIX.Configuration
{
    public class DIXAddElement : ConfigurationElement
    {
        #region CONSTANT

        public const string NAME = "name";
        public const string TYPE = "type";
        public const string DENEME = "Deneme";


        #endregion

        #region PROPERTY

        [ConfigurationProperty(NAME, IsRequired = true)]
        public string Name
        {
            get
            {
                return (string)this[NAME];
            }
            set
            {
                this[NAME] = value;
            }
        }

        [ConfigurationProperty(TYPE, IsRequired = true)]
        public string Type
        {
            get
            {
                return (string)this[TYPE];
            }
            set
            {
                this[TYPE] = value;
            }
        }


        #endregion
    }
}
